package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfOpinionDao;
import com.wfcm.entity.WfOpinionEntity;
import com.wfcm.service.WfOpinionService;



@Service("wfOpinionService")
public class WfOpinionServiceImpl implements WfOpinionService {
	@Autowired
	private WfOpinionDao wfOpinionDao;
	
	@Override
	public WfOpinionEntity queryObject(Integer id){
		return wfOpinionDao.queryObject(id);
	}
	
	@Override
	public List<WfOpinionEntity> queryList(Map<String, Object> map){
		return wfOpinionDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfOpinionDao.queryTotal(map);
	}
	
	@Override
	public void save(WfOpinionEntity wfOpinion){
		wfOpinionDao.save(wfOpinion);
	}
	
	@Override
	public void update(WfOpinionEntity wfOpinion){
		wfOpinionDao.update(wfOpinion);
	}
	
	@Override
	public void delete(Integer id){
		wfOpinionDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfOpinionDao.deleteBatch(ids);
	}
	
}
